<!DOCTYPE html>
<html lang="en">

  <head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>第三方插件</title>
  </head>

  <body>
    <div id="app">
      <h2 v-text='msg'></h2>
      <h2 v-upper-text="msg"></h2>
      <h2 v-lower-text="msg"></h2>
      <h2>此时的时间的毫秒数是：{{$now1}}</h2>
      <h2>此时的时间是：{{$now2}}</h2>
      <h2>此时的时间是：{{$now3}}</h2>

      <h2>调用[2,8)之间的随机整数：{{$random(2,8)}}</h2>
    </div>
  </body>
  <script src="../js/vue.js"></script>
  <script src="./atguigu.js"></script>
  <script>
    Vue.config.productionTip = false;
    // 1.这样直接调用没什么用
    // atguigu.install(100, 200)

    // 2.使用use()方法，Vue帮我们调用
    Vue.use(atguigu);
    console.log(Vue.projectName);
    console.log(Vue.version);
    Vue.showInfo()

    const vm = new Vue({
      el: "#app",
      data() {
        return {
          msg: "helloWorld",
        }
      },
    })
  </script>

</html>